package com.jt.service;

import com.jt.entity.Student;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface StudentService {

    Integer  save(Student student);

    Student  queryById(Integer id);

    List<Student> queryPage(RowBounds rowBounds);

    List<Student> queryAll();

    List<Student> queryByIds(Integer [] ids);

    Integer  updateStatus(Integer id,Integer status);

    List<Student> queryByLike(String  sname);

    Integer  update(Student student);

}
